#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <stddef.h>
struct S1
{
	char c1;
	char c2;
	int n;
};

struct S2
{
	char c1;
	int n;
	char c2;
};
int main()
{
	struct S1 s1 = { 0 };
	struct s2;
	printf("%zd\n", offsetof(struct S1, c1));
	printf("%zd\n", offsetof(struct S1, c2));
	printf("%zd\n", offsetof(struct S1, n));
	printf("%zd\n", sizeof(struct S1));
	return 0;
}
